package com.wclass.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 帖子搜索关键词
 * </p>
 *
 * @author SEN
 * @since 2019-02-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("posts_search_word")
public class PostsSearchWord extends SuperEntity<PostsSearchWord> {

    private static final long serialVersionUID = 1L;

    /**
     * 搜索关键词
     */
    private String word;
    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;
    /**
     * 次数
     */
    private Integer count;

}
